import { fetchGet, fetchPost } from '../config';

export default {
  // 获取商城商品信息
  shopList(params) {
    return fetchGet('shop-api/api/v1/pi/getGoodsInfoAppVo', params);
    // return fetchPost(`shop-api/api/v1/pi/getProductInfo`, params)
  },
  shopOilList(params) {
    return fetchPost('shop-api/api/v1/pi/getOilGoodsInfoAppVo', params);
  },
  shopUnionRechargeList(params) {
    return fetchGet('shop-api/api/v1/pi/getUnicomGoodsInfoAppVo', params);
  },
  shopUnionRechargeLimt(params) {
    return fetchGet('order-api/api/v1/order/getMyLiantongRechargeQuota', params);
  },
  // 获取当前商户自提地
  getCurrentAddress(params) {
    return fetchPost('shop-api/api/v1/goods/storeHourse/page', params);
  },
};
